package cleancode.controller.commandexecutor;

/**
 * Execute basic data operations
 */
interface PersistentDataOperator
{
    void addUser( String... names );

    void addRole( String... names );

    void addOperation( String... names );

    void addRoleTo( String[] roleNames, String[] userNames );

    void addOperationTo( String[] operationNames, String[] roleNames );

    void removeUser( String... names );

    void removeRole( String... names );

    void removeOperation( String... names );

    void removeRoleFrom( String[] roleNames, String[] userNames );

    void removeOperationFrom( String[] operationNames, String[] roleNames );

    String listUser();

    String listRole();

    String listOperation();
}
